---
title: Login Form with Icons
description: Displays an 8-bit login form with social login icons.
---

import { LoginForm } from "@/components/ui/8bit/blocks/login-form-2";
import CopyCommandButton from "@/components/copy-command-button";
import InstallationCommands from "@/components/installation-commands";
import ComponentPreview from "@/components/component-preview";

<div className="flex flex-col md:flex-row items-center justify-end gap-2 mb-2">
  <CopyCommandButton
    copyCommand="pnpm dlx shadcn@latest add @8bitcn/login-form-2"
    command="pnpm dlx shadcn@latest add @8bitcn/login-form-2"
  />
</div>

<ComponentPreview title="8-bit Login Form with Icons block" name="login-form-2">
  <LoginForm />
</ComponentPreview>

## Installation

---

<InstallationCommands packageName="login-form-2" />

## Usage

---

```tsx
import { LoginForm } from "@/components/ui/8bit/blocks/login-form-2"
```

```tsx
<LoginForm />
```

